<?php
/**
 * Admin user controller
 *
 * @category    IPB_CMS
 * @package     Application_Module_Admin
 * @subpackage  Controller
 * @copyright   Copyright (c) 2009 IPB CMS <http://ipb-cms.googlecode.com/>
 * @license     http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License
 * @author      Henrique Moody <henriquemoody@gmail.com>
 */
class Admin_UserController extends Zend_Controller_Action
{

    /**
     * Index action
     *
     * @return void
     */
    public function indexAction()
    {
        $this->_forward('add');
    }

    /**
     * Add action
     *
     * Adds a new user
     *
     * @return void
     */
    public function addAction()
    {
        $request = $this->getRequest();
        $form = new Admin_Form_User();
        $this->view->form = $form;
        return $this->renderScript('common/form.phtml');
    }

}
